package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.njtoyo.taxi.admin.mapper.master.enums.RideOrderOrderPlatform;
import com.njtoyo.taxi.admin.mapper.master.enums.RideOrderPaidThrough;
import com.njtoyo.taxi.admin.mapper.master.enums.RideOrderState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
public class DesignatedCallRideOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    private String number;


    private Long rideId;

    private Long customerId;

    private Long driverId;

    private Long couponId;

    private BigDecimal amount;

    private BigDecimal infoServiceAmount;

    private BigDecimal driverEarnAmount;
    private BigDecimal customerFarePaid;

    private BigDecimal balancePaid;


    private Boolean isPaid;

    private Boolean refunded;

    private Date createdAt;

    private Date updatedAt;

}
